body {
  padding: 10px;
  font-size: 12px;
}

.App {
  display: flex;
  position: relative;
}
.main {
  width: 540px;
  height: 838px;
  border: 1px solid #999;
  padding: 1px 0;
}
.tool {
  width: 120px;
  height: 818px;
  border: 1px solid #999;
  margin-left: 20px;
  padding: 10px;
  .next {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .score {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .title {
    font-size: 18px;
  }
  .tips {
    text-align: center;
    .tip {
      line-height: 24px;
    }
  }
}
.row {
  height: 30px;
}
.cube {
  display: inline-block;
  height: 28px;
  width: 28px;
  background: #f6f6f6;
  margin: 0 1px;
  &.red {
    background: #ff9966;
  }
  &.nxt {
    background: #336699;
  }
  &.gray {
    background: #999;
  }
}

.startgame {
  position: absolute;
  border: 1px solid #aaa;
  width: 500px;
  height: 180px;
  left: 20px;
  top: 200px;
  background: rgba(250, 250, 250, 0.6);
  .start {
    margin: 70px auto 0;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    width: 120px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgb(0, 129, 39);
  }
}

.finish {
  position: absolute;
  border: 1px solid #aaa;
  width: 500px;
  height: 220px;
  left: 20px;
  top: 200px;
  background: rgba(250, 250, 250, 0.6);
  .msg {
    padding-top: 10px;
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
  }
  .cur {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
  }
  .his {
    text-align: center;
    font-size: 18px;
  }
  .restart {
    margin: 20px auto 0;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    width: 120px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgb(0, 129, 39);
  }
}

.pausegame {
  position: absolute;
  border: 1px solid #aaa;
  width: 500px;
  height: 220px;
  left: 20px;
  top: 200px;
  background: rgba(250, 250, 250, 0.6);
  font-size: 24px;
  line-height: 220px;
  text-align: center;
}